/*
 * Login.java
 *
 * Created on November 16, 2007, 2:29 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package moving2;

import javax.swing.text.html.FormSubmitEvent;

/**
 *
 * @author Administrator
 */
public class Login extends javax.swing.JInternalFrame{
    static int openFrameCount = 3;
    static final int xOffset = 30, yOffset = 30;    


    /** Creates a new instance of Login */
    public Login() {
        super("Login", 
              false, //resizable
              true, //closable
              false, //maximizable
              false);//iconifiable
        
        //...Then set the window size or call pack...
        setContentPane(createContentPane());
        
        setSize(300,210);

        //Set the window's location.
        setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
    }

    private java.awt.Container createContentPane() {            

        javax.swing.JPanel contentPane;
        javax.swing.JTextArea output;
        javax.swing.JScrollPane scrollPane;

        contentPane = new moving2.forms.LoginForm();
        contentPane.setOpaque(true);

        output = new javax.swing.JTextArea(5, 30);
        output.setEditable(false);
        scrollPane = new javax.swing.JScrollPane(output);

        contentPane.add(scrollPane, java.awt.BorderLayout.CENTER);
        return contentPane;

    } 
    
}
